{% if latest_question_list %}
    <ul>
    {% for poll in latest_question_list %}
        <li><a href="/polls/{{ poll.id }}/">{{ poll.question_text }}</a></li>
    {% endfor %}
    </ul>
{% else %}
    <p>---No polls are available.</p>
{% endif %}